using System;
using System.Globalization;


namespace Agron.Web
{
    /// <summary>
    /// Code-Behind for the <c>UdlaMaster.master</c> <see cref="System.Web.UI.MasterPage"/>.
    /// </summary>
    public partial class UdlaMaster : System.Web.UI.MasterPage
    {
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
                this.udlaFooterLocalize.Text = string.Format(CultureInfo.CurrentCulture, this.udlaFooterLocalize.Text, DateTime.Now.Year.ToString(CultureInfo.CurrentCulture));
        }
    }
}
